﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<?php 
	if(!isset($_SESSION['userIdZing']))
	{
		session_start(); 
	}
	if(isset($_SESSION['userIdZing']))
	{
	?>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="./css/bootstrap.css" rel="stylesheet">
	<link href="./css/doc.css" rel="stylesheet">
	<link href="./css/grid.css" rel="stylesheet">
	<link href="./css/carousel.css" rel="stylesheet">
	<link href="./css/jquery.bxslider.css" rel="stylesheet">
	<link type="text/css" rel="stylesheet" href="css/style.css" />
	
	<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
	<script src="js/bootstrap.min.js"></script>
	<script src="js/holder.js"></script>
	<script type="text/javascript" src="http://static.me.zing.vn/v3/js/zm.xcall-1.01.js"></script>
	
	<title>ZiGo - Cùng chia sẻ</title>
</head>
<body>
<div class="zigowapper" id="zigo_container">
<?php
	include ('/view/bannertop.php');
	include ('/view/menutop.php');
?>
	<p class="title">DANH SÁCH "QUÁN NỔI BẬT"</p>
	<div class="borderhome row" id="topplace">
		<?php 
			include ('/view/topplace.php');
		?>
	</div>
	<div class="contentdouble">
        <div class="row">
            <div class="col-md-8 bordernone">
                <p class="title titlemid">LỜI BÌNH LUẬN MỚI</p>
				<div id="newfeed">
					<?php
						include ('/view/newfeed.php');
					?>
				</div>
			</div>
			<div class="col-md-4 bordernone">
				<?php
					include ('/view/placecategories.php');
				?>
			</div>
		</div>
    </div>
	<p class="title">QUÁN ĂN MỚI</p>
	<div id="newplace" class="row">
		<?php
			include ('/view/newplace.php');
		?>
	</div>
</div>
<script type="text/javascript">    
        $(document).ready(function() {
            
            var h = document.getElementById('zigo_container').offsetHeight;
            console.log("ready - h: " + h);
            h = parseFloat(h);                
            zmXCall.resizeParent({
                id:"zigo",
                height:h
            });	
         
        });
    </script>
</body>
<?php }?>
</html>